{% extends 'baes.html'%}
{% block content%}
<div class="container">
    <form class="form-horizontal" role="form" method="post" action="/add">
    <div class="form-group">
        <label for="firstname" class="col-sm-2 control-label">帐号</label>
        <div class="col-sm-10">
        <input type="text" class="form-control" id="firstname" name="name" placeholder="请输入帐号">
        </div>
    </div>
    <div class="form-group">
        <label for="lastname" class="col-sm-2 control-label">密码</label>
        <div class="col-sm-10">
        <input name="psw" pattern="^[a-zA-Z]\w{5,17}$" data-toggle="tooltip" data-placement="right" title="必须字母开头，大于6位，小于18位" type="password" class="form-control" id="lastname" placeholder="请输入密码">
        </div>
    </div>
    <div class="form-group">
        <label for="lastname" class="col-sm-2 control-label">确认密码</label>
        <div class="col-sm-10">
        <input name="confirm" type="password" class="form-control" id="lastname" placeholder="请输入密码">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
        <button type="submit" class="btn btn-default">登录</button>
        </div>
    </div>
    </form>
</div>
{% endblock %}